


import dexen

from libs import constants

pop1 = dexen.Population("pop_synch")
pop1.set_max_inds(constants.MAX_INDIVIDUALS)
pop1.set_script("initialization", "tasks.initialization", "InitializationScript")
pop1.set_script("development", "tasks.development", "DevelopmentScript", 200)
pop1.set_script("evaluation", "tasks.evaluation", "EvaluationScript", 200)
pop1.set_script("feedback", "tasks.feedback", "FeedbackScript", 400)


pop1 = dexen.Population("pop_asynch")
pop1.set_max_inds(constants.MAX_INDIVIDUALS)
pop1.set_script("initialization", "tasks.initialization", "InitializationScript")
pop1.set_script("development", "tasks.development", "DevelopmentScript", 10)
pop1.set_script("evaluation", "tasks.evaluation", "EvaluationScript", 10)
pop1.set_script("feedback", "tasks.feedback", "FeedbackScript", 400)

